_G.towerList = {
	{
		"npc_td_tower_sven",
		"npc_td_tower_centaur",
		"npc_td_tower_omniknight",
		"npc_td_tower_magnus",
		"npc_td_tower_brewmaster",
		"npc_td_tower_chaos_knight",
		"npc_td_tower_pudge",
		"npc_td_tower_lifestealer",
		"npc_td_tower_bristleback",
		"npc_td_tower_slardar",
	},
	{
		"npc_td_tower_drow_ranger",
		"npc_td_tower_sniper",
		"npc_td_tower_medusa",
		"npc_td_tower_mirana",
		"npc_td_tower_juggernaut",
		"npc_td_tower_phantom_assassin",
		"npc_td_tower_naga_siren",
		"npc_td_tower_faceless_void",
		"npc_td_tower_shadow_fiend",
		"npc_td_tower_vengeful_spirit",
	},
	{
		"npc_td_tower_windrunner",
		"npc_td_tower_crystal_maiden",
		"npc_td_tower_queenofpain",
		"npc_td_tower_ogre_magi",
		"npc_td_tower_witch_doctor",
		"npc_td_tower_bane",
		"npc_td_tower_zeus",
		"npc_td_tower_lich",
		"npc_td_tower_leshrac",
		"npc_td_tower_outworld_devourer",
	},
	{
		"npc_td_tower_morphling",
		"npc_td_tower_dragon_knight",
	},
}

_G.attributeListMain = 3
_G.attributeListRare = 1
_G.attributeListMainWeight = 8
_G.attributeListRareWeight = 1
_G.attributeListMainTotal = _G.attributeListMain * _G.attributeListMainWeight
_G.attributeListRareTotal = _G.attributeListRare * _G.attributeListRareWeight
_G.attributeListCycles = 1

_G.attributeListMainFirst = 1
_G.attributeListRareFirst = 4

_G.attributeList = {}

for i = _G.attributeListMainFirst, _G.attributeListMain + _G.attributeListMainFirst - 1 do
	for j = 1, _G.attributeListMainWeight * _G.attributeListCycles do
		table.insert( _G.attributeList, i )
	end
end

for i = _G.attributeListRareFirst, _G.attributeListRare + _G.attributeListRareFirst - 1 do
	for j = 1, _G.attributeListRareWeight * _G.attributeListCycles do
		table.insert( _G.attributeList, i )
	end
end

--for k, v in ipairs( _G.attributeList ) do print( k, v ) end

_G.creepList = {
	"npc_td_creep_golem",
	"npc_td_creep_centaur",
	"npc_td_creep_wildwing",
	"npc_td_creep_wolf",
	"npc_td_creep_granite_golem",
	"npc_td_creep_hawk",
	"npc_td_creep_ogre_magi",
	"npc_td_creep_necro_warrior",
	"npc_td_creep_necro_archer",
}

_G.bossList = {
	"npc_td_boss_life_stealer",
	"npc_td_boss_necrophos",
	"npc_td_boss_troll_warlord",
	"npc_td_boss_enchantress",
	"npc_td_boss_wraith_king",
	"npc_td_boss_bloodseeker",
	"npc_td_boss_dark_seer",
	"npc_td_boss_earthshaker",
	"npc_td_boss_tidehunter",
	"npc_td_boss_naga_siren",
	"npc_td_boss_slark",
	"npc_td_boss_brewmaster",
}

_G.dropList = {
	"item_td_sange",
	"item_td_yasha",
	"item_td_kaya",
	"item_td_crystalys",
	"item_td_maelstrom",
	"item_td_basilius",
	"item_td_mask_of_madness",
	"item_td_dragon_lance",
	"item_td_aether_lens",
	"item_td_ultimate_orb",
	"item_td_desolator",
	"item_td_demon_edge",
	"item_td_hyperstone",
}

_G.itemList = {
	"item_td_sange",
	"item_td_yasha",
	"item_td_kaya",
	"item_td_crystalys",
	"item_td_maelstrom",
	"item_td_basilius",
	"item_td_mask_of_madness",
	"item_td_dragon_lance",
	"item_td_aether_lens",
	"item_td_ultimate_orb",
	"item_td_desolator",
	"item_td_demon_edge",
	"item_td_hyperstone",
	
	"item_td_tome_of_str",
	"item_td_tome_of_agi",
	"item_td_tome_of_int",
	"item_td_eye_of_skadi",
	"item_td_battle_fury",
	"item_td_daedalus",
	"item_td_desolator_2",
	"item_td_assault",
	"item_td_mjollnir",
	"item_td_telescope",
	"item_td_aquila",
	"item_td_ballista",
	"item_td_tome_of_agh",
	"item_td_veil",
	"item_td_mkb",
	"item_td_trident",
	"item_td_pipe",
	"item_td_solar_crest",
	"item_td_tome_of_exp",
	"item_td_lucky_femur",
	"item_td_boots_of_travel",
}

_G.attributeColor = {
	[DOTA_ATTRIBUTE_STRENGTH] = Vector( 236, 32, 6 ),
	[DOTA_ATTRIBUTE_AGILITY] = Vector( 38, 224, 48 ),
	[DOTA_ATTRIBUTE_INTELLECT] = Vector( 0, 217, 236 ),
}

_G.creepHealthBase = 100
_G.creepHealthGrowthStatic = 20
_G.creepHealthGrowthWave = 10
_G.creepHealthGrowthLast = 1.04
_G.creepCountPerWave = 10
_G.creepCountMin = 20
_G.creepAddRoundInitial = 20
_G.creepAddRound = 10

_G.goldAwardBase = 300
_G.goldAwardGrowthStatic = 10
_G.goldAwardGrowthWave = 0

_G.timeBetweenRounds = 30

_G.bossRound = 5
_G.bossBountyMult = 20.0
_G.bossLeakDamage = 5
_G.bossAddRoundInitial = 50
_G.bossAddRound = 25

_G.dropRound = _G.bossRound

_G.legendaryRound = 50

_G.towerMaxLevel = 6
_G.towerSpawnMana = 0.5

_G.towerExpForNext = {
	GetAbilitySpecial( "item_td_tome_of_exp", "level_2_exp" ),
	GetAbilitySpecial( "item_td_tome_of_exp", "level_3_exp" ),
	GetAbilitySpecial( "item_td_tome_of_exp", "level_4_exp" ),
	GetAbilitySpecial( "item_td_tome_of_exp", "level_5_exp" ),
	GetAbilitySpecial( "item_td_tome_of_exp", "level_6_exp" ),
	-1,
}

_G.runeFirstWave = GetAbilitySpecial( "rune_rune_forge", "first_wave" )
_G.runeCooldown = GetAbilitySpecial( "rune_rune_forge", "cooldown" )

_G.runeList = {
	"rune_doubledamage",
	"rune_arcane",
	"rune_haste",
}

_G.TD_MODE_COOP = 1